package entity;

/**
 * 项目名：PAIMSys
 * 包名：entity
 * 类名：inventory
 * 描述：库存实体
 * 作者：柳胜酉
 * 开始时间：2023/4/24
 * 完成时间：
 * 版本：1.0
 */
public class Inventory {
    private int product_id; //商品编号
    private String product_name; //商品名
    private double product_inventory; //商品数量
    private int supplier_id; //供应商编号
    private String supplier_name; //供应商名

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public double getProduct_inventory() {
        return product_inventory;
    }

    public void setProduct_inventory(double product_inventory) {
        this.product_inventory = product_inventory;
    }

    public int getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(int supplier_id) {
        this.supplier_id = supplier_id;
    }

    public String getSupplier_name() {
        return supplier_name;
    }

    public void setSupplier_name(String supplier_name) {
        this.supplier_name = supplier_name;
    }

    @Override
    public String toString() {
        return "inventory{" +
                "product_id=" + product_id +
                ", product_name='" + product_name + '\'' +
                ", product_inventory=" + product_inventory +
                ", supplier_id=" + supplier_id +
                ", supplier_name='" + supplier_name + '\'' +
                '}';
    }
}
